#include <iostream>
#include <algorithm>

using namespace std;

int main() {
  int n;
  string s;
  for (cin >> n; n-- && cin >> s; cout << s << endl)
    ;
  return 0;
}
